import { getStorage } from '../utils/storage'
export function requestInterception(config){
  const authToken = getStorage('Token')
  if (!['/getCaptcha','/user/login'].includes(config.url)) {
    config.headers.Authorization = authToken
  }
  return config
}
